package com.qcby.service;

import com.qcby.entity.User;
import com.qcby.entity.vo.UserVo;
import com.qcby.util.ResultObject;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * @author haozeWang
 * @create 2021-08-20 15:22
 */
public interface UserService {
    /*登录验证*/
    public ResultObject login(UserVo user, HttpServletRequest request, HttpServletResponse response);

    /*获取验证码*/
    public void getCode(HttpServletRequest request, HttpServletResponse response) throws IOException;

}
